package com.etime.perfectschool.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.etime.perfectschool.pojo.SchoolActivies;
import org.springframework.stereotype.Repository;


//  校园活动表
@Repository
public interface SchoolActiviesMapper extends BaseMapper<SchoolActivies> {
    //查询全部活动
    Page<SchoolActivies> getAllSchoolActivies(IPage<SchoolActivies> iPage);
    //发布活动
    int addSchoolActivies(SchoolActivies schoolActivies);
    //点赞功能
}
